//
//  YHY_MyTableViewCell.m
//  YHYRealx
//
//  Created by yanghuiyan on 16/5/3.
//  Copyright © 2016年 yanghuiyan. All rights reserved.
//

#import "YHY_MyTableViewCell.h"

@implementation YHY_MyTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.label = [YHYBaseLabel new];
        self.label.textColor = [UIColor grayColor];
        self.label.textAlignment = NSTextAlignmentLeft;
        self.label.font = [UIFont systemFontOfSize:18];
        
        [self.contentView addSubview:self.label];
        
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    _label.frame = CGRectMake(30, 0, INWIDTH - 30, INHEIGHT);
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
